<template>
  <div class="common-layout">
    <el-container>
      <el-header><h1 style="background-color: #0aa1ed;color: #fff">后台管理系统</h1></el-header>

      <el-container>
        <el-aside width="200px">
          <el-menu>
            <el-menu-item>员工管理</el-menu-item>
            <el-menu-item>轮播图管理</el-menu-item>
            <el-menu-item>商品管理</el-menu-item>
          </el-menu>
        </el-aside>

        <el-main>
          <el-table :data="arr" border="2px" color="#0aa1ed">
            <el-table-column type="index" label="编号" width="80px" align="center"> </el-table-column>
            <el-table-column label="姓名" prop="name" align="center"> </el-table-column>
            <el-table-column label="年龄" prop="age" align="center"> </el-table-column>
            <el-table-column label="性别" prop="gender" align="center"> </el-table-column>
            <el-table-column label="手机号" prop="phone" align="center"> </el-table-column>
            <el-table-column label="地址" prop="address" align="center"> </el-table-column>
          </el-table>
        </el-main>
      </el-container>

    </el-container>
  </div>
</template>


<script setup>

import {ref} from "vue";

const arr = ref([
    {name:"张飞",age:18,gender:"男",phone:18811112222,address:"昆工"},
    {name:"张飞",age:18,gender:"男",phone:18811112222,address:"昆工"},
    {name:"张飞",age:18,gender:"男",phone:18811112222,address:"昆工"},
    {name:"张飞",age:18,gender:"男",phone:18811112222,address:"昆工"},
    {name:"张飞",age:18,gender:"男",phone:18811112222,address:"昆工"},
    {name:"张飞",age:18,gender:"男",phone:18811112222,address:"昆工"},
    {name:"张飞",age:18,gender:"男",phone:18811112222,address:"昆工"},
    {name:"张飞",age:18,gender:"男",phone:18811112222,address:"昆工"},
])
</script>

<style scoped>

</style>